text/template/parse.Tree.newCommand (method)

3 uses

	text/template/parse (current package)
		node.go#L298: func (t *Tree) newCommand(pos Pos) *CommandNode {
		node.go#L335: 	n := c.tr.newCommand(c.Pos)
		parse.go#L661: 	cmd := t.newCommand(t.peekNonSpace().pos)